package es.deusto.ingenieria.is.search.touringproblem.formulation;

public class City {
	private int positionX;
	private int positionY;
	private String name;
	private String type;
	
	public City(int x,int y, String name, String type){
		this.positionX=x;
		this.positionY=y;
		this.name=name;
		this.type=type;
	}
	

	public int getPositionX() {
		return positionX;
	}


	public void setPositionX(int positionX) {
		this.positionX = positionX;
	}


	public int getPositionY() {
		return positionY;
	}


	public void setPositionY(int positionY) {
		this.positionY = positionY;
	}


	public String getType() {
		return type;
	}


	public void setType(String type) {
		this.type = type;
	}


	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String toString(){
		return "City '" + this.name + "' - ("+this.positionX +"," + this.positionY+") "+ "type: "+this.type;
	}
	
}
